﻿// -----------------------------------------------------------------------
// <copyright file="ICompressor.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace PortableImagingLibrary.Png.Compressors
{
    using System;
    using System.Diagnostics.Contracts;

    [ContractClass(typeof(CompressorContract))]
    internal interface ICompressor : IDisposable
    {
        void AddLine(byte[] source);

        byte[] GetChunkData();
    }
}
